package com.rivercloud.dao;

import java.util.List;

import com.rivercloud.entity.ExcelTable;
import com.rivercloud.entity.Template;

public interface TableDao {

	void addTable(ExcelTable excelTable);

	

	List<ExcelTable> findAll();
	
	List<ExcelTable> findTableByProjectId(int projectId);

	int findIdByTableName(String tableName);



	ExcelTable checkTableName(String tableName);



	ExcelTable findTableById(int tableId);



	List<ExcelTable> findTablesByProjectId(int projectId);



	void deleteTable(Integer tableId);



	void updateFinish(int tableId);



	List<ExcelTable> findFinishTable(ExcelTable table);



	int findProjectIdByTableId(int tableId);



	int lastInsertId();



	List<ExcelTable> findTableByTableIdList(List<Integer> tableIdList);



	List<ExcelTable> findTablesByUserIdAndProjectId(ExcelTable excelTable);
	
	
	




}
